//
//  TitleLabel.m
//  UI_03homeworkNo02
//
//  Created by dllo on 16/6/7.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "TitleLabel.h"

@implementation TitleLabel

-(instancetype)initWithFrame:(CGRect)frame withText:(NSString *)text withFontNumber:(NSInteger)number
{
    self = [super initWithFrame:frame];
    if (self) {
        self.text = text;
        self.font = [UIFont systemFontOfSize:number];
        
//        self.adjustsFontSizeToFitWidth = YES;
        
    }
    return self;
}




@end
